#ifndef GAMEPLAY_H
#define GAMEPLAY_H

#include "../Screen.h"
#include "../ContentManager.h"
#include "../Engine.h"
#include "MainMenu.h"

class Gameplay : public Screen
{
    // Fields
    public:
    private:
        Texture2D* cubeTexture;
        // Cube positioning
        GLfloat rotateX, rotateY;
        GLfloat speedX, speedY;
        GLfloat zA;
        // Lighting
        GLfloat lightAmbient[4];
        GLfloat lightDiffuse[4];
        GLfloat lightPosition[4];
        //
        bool dispList;
        GLuint cubeDispList;
        // Gameplay camera
        //FreeViewCamera camera;
        SceneRotateCamera camera;

    // Methods
    public:
        Gameplay();
        virtual ~Gameplay(){};
        void draw();
        void update(Uint32* deltaTime);
        void handleEvents(SDL_Event* event);
    private:
        void test3D();
};

#endif
